package com.niiwoo.civet.account.dao.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AccountCheckingAllbalanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AccountCheckingAllbalanceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNull() {
            addCriterion("collect_time is null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNotNull() {
            addCriterion("collect_time is not null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeEqualTo(Date value) {
            addCriterion("collect_time =", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotEqualTo(Date value) {
            addCriterion("collect_time <>", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThan(Date value) {
            addCriterion("collect_time >", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("collect_time >=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThan(Date value) {
            addCriterion("collect_time <", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThanOrEqualTo(Date value) {
            addCriterion("collect_time <=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIn(List<Date> values) {
            addCriterion("collect_time in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotIn(List<Date> values) {
            addCriterion("collect_time not in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeBetween(Date value1, Date value2) {
            addCriterion("collect_time between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotBetween(Date value1, Date value2) {
            addCriterion("collect_time not between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoIsNull() {
            addCriterion("platform_merchant_no is null");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoIsNotNull() {
            addCriterion("platform_merchant_no is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoEqualTo(String value) {
            addCriterion("platform_merchant_no =", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoNotEqualTo(String value) {
            addCriterion("platform_merchant_no <>", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoGreaterThan(String value) {
            addCriterion("platform_merchant_no >", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoGreaterThanOrEqualTo(String value) {
            addCriterion("platform_merchant_no >=", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoLessThan(String value) {
            addCriterion("platform_merchant_no <", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoLessThanOrEqualTo(String value) {
            addCriterion("platform_merchant_no <=", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoLike(String value) {
            addCriterion("platform_merchant_no like", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoNotLike(String value) {
            addCriterion("platform_merchant_no not like", value, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoIn(List<String> values) {
            addCriterion("platform_merchant_no in", values, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoNotIn(List<String> values) {
            addCriterion("platform_merchant_no not in", values, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoBetween(String value1, String value2) {
            addCriterion("platform_merchant_no between", value1, value2, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andPlatformMerchantNoNotBetween(String value1, String value2) {
            addCriterion("platform_merchant_no not between", value1, value2, "platformMerchantNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoIsNull() {
            addCriterion("member_no is null");
            return (Criteria) this;
        }

        public Criteria andMemberNoIsNotNull() {
            addCriterion("member_no is not null");
            return (Criteria) this;
        }

        public Criteria andMemberNoEqualTo(String value) {
            addCriterion("member_no =", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoNotEqualTo(String value) {
            addCriterion("member_no <>", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoGreaterThan(String value) {
            addCriterion("member_no >", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoGreaterThanOrEqualTo(String value) {
            addCriterion("member_no >=", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoLessThan(String value) {
            addCriterion("member_no <", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoLessThanOrEqualTo(String value) {
            addCriterion("member_no <=", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoLike(String value) {
            addCriterion("member_no like", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoNotLike(String value) {
            addCriterion("member_no not like", value, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoIn(List<String> values) {
            addCriterion("member_no in", values, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoNotIn(List<String> values) {
            addCriterion("member_no not in", values, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoBetween(String value1, String value2) {
            addCriterion("member_no between", value1, value2, "memberNo");
            return (Criteria) this;
        }

        public Criteria andMemberNoNotBetween(String value1, String value2) {
            addCriterion("member_no not between", value1, value2, "memberNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIsNull() {
            addCriterion("platform_user_no is null");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIsNotNull() {
            addCriterion("platform_user_no is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoEqualTo(String value) {
            addCriterion("platform_user_no =", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotEqualTo(String value) {
            addCriterion("platform_user_no <>", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoGreaterThan(String value) {
            addCriterion("platform_user_no >", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoGreaterThanOrEqualTo(String value) {
            addCriterion("platform_user_no >=", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLessThan(String value) {
            addCriterion("platform_user_no <", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLessThanOrEqualTo(String value) {
            addCriterion("platform_user_no <=", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoLike(String value) {
            addCriterion("platform_user_no like", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotLike(String value) {
            addCriterion("platform_user_no not like", value, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoIn(List<String> values) {
            addCriterion("platform_user_no in", values, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotIn(List<String> values) {
            addCriterion("platform_user_no not in", values, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoBetween(String value1, String value2) {
            addCriterion("platform_user_no between", value1, value2, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andPlatformUserNoNotBetween(String value1, String value2) {
            addCriterion("platform_user_no not between", value1, value2, "platformUserNo");
            return (Criteria) this;
        }

        public Criteria andAmonntIsNull() {
            addCriterion("amonnt is null");
            return (Criteria) this;
        }

        public Criteria andAmonntIsNotNull() {
            addCriterion("amonnt is not null");
            return (Criteria) this;
        }

        public Criteria andAmonntEqualTo(String value) {
            addCriterion("amonnt =", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntNotEqualTo(String value) {
            addCriterion("amonnt <>", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntGreaterThan(String value) {
            addCriterion("amonnt >", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntGreaterThanOrEqualTo(String value) {
            addCriterion("amonnt >=", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntLessThan(String value) {
            addCriterion("amonnt <", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntLessThanOrEqualTo(String value) {
            addCriterion("amonnt <=", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntLike(String value) {
            addCriterion("amonnt like", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntNotLike(String value) {
            addCriterion("amonnt not like", value, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntIn(List<String> values) {
            addCriterion("amonnt in", values, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntNotIn(List<String> values) {
            addCriterion("amonnt not in", values, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntBetween(String value1, String value2) {
            addCriterion("amonnt between", value1, value2, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmonntNotBetween(String value1, String value2) {
            addCriterion("amonnt not between", value1, value2, "amonnt");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIsNull() {
            addCriterion("checking_record_id is null");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIsNotNull() {
            addCriterion("checking_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdEqualTo(Long value) {
            addCriterion("checking_record_id =", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotEqualTo(Long value) {
            addCriterion("checking_record_id <>", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdGreaterThan(Long value) {
            addCriterion("checking_record_id >", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("checking_record_id >=", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdLessThan(Long value) {
            addCriterion("checking_record_id <", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("checking_record_id <=", value, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdIn(List<Long> values) {
            addCriterion("checking_record_id in", values, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotIn(List<Long> values) {
            addCriterion("checking_record_id not in", values, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdBetween(Long value1, Long value2) {
            addCriterion("checking_record_id between", value1, value2, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andCheckingRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("checking_record_id not between", value1, value2, "checkingRecordId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}